Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flex counter] Flex counter threads consume too much CPU resources. #1925

Merged
merged 5 commits into from
Nov 18, 2021

Conversation

StormLiangMS
Copy link
Contributor

@StormLiangMS StormLiangMS commented Nov 15, 2021

What I did

In SWSS module, the default interval of watermark counters is changed from 10 seconds to 60 seconds. To increase the interval CLI upper limit from 30 seconds to 60 seconds.

Fixes sonic-net/sonic-buildimage#9202

How I did it

How to verify it

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

…9202

Increase the interval up lmit from 30 seconds to 60 seconds
counterpoll/main.py Outdated Show resolved Hide resolved
@StormLiangMS StormLiangMS merged commit 9ab6c51 into master Nov 18, 2021
@StormLiangMS StormLiangMS changed the title [flex counter] Flex counter threads consume too much CPU resources. #9202 [flex counter] Flex counter threads consume too much CPU resources. Nov 23, 2021
qiluo-msft pushed a commit that referenced this pull request Nov 23, 2021
…9202 (#1925)

* [flex counter] Flex counter threads consume too much CPU resources. #9202

Increase the interval up lmit from 30 seconds to 60 seconds

* only modify the interval of watermark counter group

* fix merge conflict

* fix commit issue
qiluo-msft pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Dec 6, 2021
Contains the following commits
239cb5c  [flex counter] Flex counter threads consume too much CPU resources (sonic-net/sonic-utilities#1925)
8a3b41a [load_minigraph] Delay pfcwd start until the buffer templates are rendered  (sonic-net/sonic-utilities#1937)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[flex counter] Flex counter threads consume too much CPU resources.
3 participants